package com.lin.chapter11;

public class Client {
	public static void main(String[] args) {
		Director director = new Director();

		for (int i = 0; i < 10000; i++) {
			CarModel b = director.getABenzModel();
			b.run();
		}

		for (int i = 0; i < 20000; i++) {
			CarModel cbmwModel = director.getCBMWModel();
			cbmwModel.run();
		}
	}
}
